<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">

<ui:composition>

	<p:dialog width="300" height="80" header="Delete Organizational Goal" widgetVar="deleteConfirmDialog"  position="center" resizable="false" closable="true" >  
    	<h:form> 
	        <p:panelGrid styleClass="NoBorderTable"  style="margin:auto;width:100%;height:100%;">   	
	        	<p:row style="border: none;">
	        		<p:column colspan="2" style="text-align:center;border: none;"><p:outputLabel value="Do you want to delete this goal?" /></p:column>
	        	</p:row> 
	        	<p:row style="border: none;"><p:column style="border: none;"></p:column></p:row>
	            <p:row style="border: none;">
	            	<p:column colspan="1" style="text-align:center;border: none;">
	            		<p:commandButton value="Delete" icon="ui-icon-trash" actionListener="#{activityGOBoundary.deleteGoal()}" 
	            			update=":notificationGrowl,:contentForm,:#{p:component('goalDataList')}"
	            			oncomplete="deleteConfirmDialog.hide()"/>
	            	</p:column>
	            	<p:column colspan="1"  style="text-align:center;border: none;">
	            		<p:commandButton value="Cancel" icon="ui-icon-closethick" type="button" onclick="deleteConfirmDialog.hide()"/> 
	            	</p:column>  
	            </p:row>
	   		</p:panelGrid>  
	    </h:form>  
	</p:dialog>
	
	<p:dialog width="400" height="80" header="Save Organizational Goal" widgetVar="closeConfirmDialog"  position="center" resizable="false" closable="true" >  
    	<h:form> 
	        <p:panelGrid styleClass="NoBorderTable"  style="margin:auto;width:100%;height:100%;">   	
	        	<p:row style="border: none;">
	        		<p:column colspan="3" style="text-align:center;border: none;"><p:outputLabel value="Do you want to save this goal before exit?" /></p:column>
	        	</p:row> 
	        	<p:row style="border: none;"><p:column style="border: none;"></p:column></p:row>
	            <p:row style="border: none;">
	            	<p:column colspan="1" style="text-align:center;border: none;">
	            		<p:commandButton value="Save" icon="ui-icon-trash" actionListener="#{activityGOBoundary.closeWithSave()}" 
	            			update=":notificationGrowl,:contentForm,:#{p:component('goalDataList')}" oncomplete="closeConfirmDialog.hide()"/>
	            	</p:column>
	            	<p:column colspan="1"  style="text-align:center;border: none;">
	            		<p:commandButton value="Don't Save" icon="ui-icon-closethick" actionListener="#{activityGOBoundary.closeGoal()}" 
	            		update=":notificationGrowl,:contentForm" oncomplete="closeConfirmDialog.hide()"/> 
	            	</p:column> 
	            	<p:column colspan="1"  style="text-align:center;border: none;">
	            		<p:commandButton value="Cancel" icon="ui-icon-closethick" type="button" onclick="closeConfirmDialog.hide()"/> 
	            	</p:column>  
	            </p:row>
	   		</p:panelGrid>  
	    </h:form>  
	</p:dialog>
	
</ui:composition>
</html>


 